.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  .platformBody {
    width: 100%;
    height: 100%;
    //backdrop-filter: blur(1px);
    //background-color: rgba(168, 236, 255, 0.1);

    .container {

      .header {
        height: 120px;
        padding: 20px 15px 10px 15px;
        background: white;
        display: flex;
        align-items: center;
        position: relative;

        img {
          width: 68px;
          height: 68px;
          margin: 0 12px;
          border-radius: 5px;
        }

        .people {
          .name {
            font-size: 17px;
            font-weight: bold;
            color: #1a1a1a;
            line-height: 30px;
          }

          .id {
            font-size: 14px;
            color: #b5b2b2;
            line-height: 22px;
          }
        }

        .close {
          position: absolute;
          color: #e93eb9;
          top: 15px;
          right: 8px;
          width: 32px;
          height: 32px;
        }

      }

    }

    .user {
      padding-top: 35px;
      margin: 0 12px;
      height: 98px;
      position: relative;
      display: flex;
      justify-content: center;

      .icon {
        width: 100%;
        max-width: 375px;
        height: 62px;
        position: absolute;
        display: flex;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 8px;

        .imgWrap {
          width: 16%;
          height: 62px;
          display: flex;
          justify-content: center;
          align-items: center;

          img {
            border-radius: 50%;
            width: 45px;
            height: 45px;
            margin: 0 5px;
            overflow: hidden;
            border: 1px solid #eee;
          }
        }

        .battle {
          width: 84%;
          height: 100%;
          display: flex;

          .title {
            flex: 1;
            height: calc(100% - 3.5px);

            .name {
              width: 100%;
              height: 32px;
              line-height: 32px;
              display: flex;

              div {
                word-break: break-all;
                white-space: nowrap;
                font-weight: bold;
                color: rgb(0, 244, 0);
                font-size: 15px;
                height: 35px;
                line-height: 40px;
              }

              img {
                width: 20px;
                height: 32px;
                padding: 6px 0;
                margin-left: 4px;
                color: black;
              }
            }

            .sort {
              height: 25px;
              line-height: 25px;
              margin-bottom: 7px;
              word-break: break-all;
              white-space: nowrap;
              font-size: 13px;
              color: #e6e600;

              span {
                font-size: 12px;
              }
            }
          }

          .info {
            flex: 1;
            padding-right: 10px;

            .subject {
              height: 25px;
              line-height: 25px;
              margin-top: 7px;
              display: flex;

              div:nth-child(1) {
                width: 56px;
                text-align: center;
                font-weight: bold;
                font-size: 15px;
                color: #e6e600;
              }

              div:nth-child(2) {
                width: 112px;
                text-align: center;
                display: flex;

                span {
                  font-weight: bold;
                  font-size: 15px;
                  flex: 1;
                }

                span:nth-child(1) {
                  color: #ffc800;
                }

                span:nth-child(2) {
                  color: #ff7000;
                }

                span:nth-child(3) {
                  color: #87ebf1;
                }
              }
            }

            .value {
              height: 25px;
              line-height: 25px;
              margin-bottom: 7px;
              display: flex;
              color: #d4c9c9;

              div:nth-child(1) {
                width: 56px;
                text-align: center;
                font-size: 13px;
                color: #e6e600;
              }

              div:nth-child(2) {
                width: 112px;
                text-align: center;
                display: flex;
                font-size: 13px;

                span {
                  flex: 1;
                }

                span:nth-child(1) {
                  color: #ffc800;
                }

                span:nth-child(2) {
                  color: #ff7000;
                }

                span:nth-child(3) {
                  color: #87ebf1;
                }
              }
            }

          }
        }
      }
    }

    .platform {
      width: 364px;
      height: 392px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 18px;

      :global {
        .am-badge-text {
          transform: translateX(-50%);
          padding: 0 8px;
        }
        sup {
          background: linear-gradient(45deg, #f98822, #c1380d, #7e2c50, #bf5e27, transparent);
          color: white;
        }
      }

      .btnRed, .btnYellow {
        height: 60px;
        line-height: 60px;
        width: 245px;
        text-align: center;
        font-weight: bold;
        letter-spacing: 2px;
        text-indent: 2px;
        font-family: 'kaiti-font';
      }

      .btnRed {
        color: #902909;
        // text-shadow: #c73838 -2px 2px 15px;
        background: url("@/assets/images/btn-bg.png") no-repeat;
        background-size: 100% 100%;
      }

      .btnYellow {
        color: white;
        text-shadow: black 0 1px 0;
        // background: url("@/assets/images/btn-bg-yellow.png") no-repeat;
        background-size: 100% 100%;
      }

      .badge + .badge {
        margin-top: 65px;
      }
    }
  }

  .joinRoomSelectBody {
    width: 100%;
    height: 100%;

    .img {
      padding: 10px;
      height: 120px;
      width: 100vw;
    }

    .title {
      height: 25px;
      line-height: 25px;
      text-align: center;
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 3px;
      text-indent: 3px;
    }

    .content {
      width: 100%;
      height: 100vw;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      position: absolute;
      margin-left: -50%;
      margin-top: -50vw;
      left: 50%;
      top: 50%;
      z-index: 1;

      button:nth-child(1) {
        top: -20px;
        animation: left2CenterAni 0.5s ease 1;
      }

      button:nth-child(3) {
        bottom: -20px;
        animation: right2CenterAni 0.5s ease 1;
      }

      h1 {
        width: 180px;
        height: 2px;
        background: -webkit-linear-gradient(0deg, gold, #edf304, #ea327f) right;
        position: absolute;
        margin: 0;
        border-radius: 10px;
        transform: rotate(120deg);
      }

      button {
        height: 45px;
        margin: 0 20px;
      }
    }
  }

  .userDetail {
    position: absolute;
    width: 320px;
    height: 420px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: #fbf6f5;
    border-radius: 8px;

    .head {
      width: 100%;
      height: 120px;
      overflow: hidden;

      .userIcon {

        img {
          width: 90px;
          height: 90px;
          position: absolute;
          left: 50%;
          top: 0;
          margin-left: -45px;
          margin-top: 10px;
          border-radius: 50%;
          z-index: 1;
          border: 1px solid #eee;
          padding: 2px;
        }

        .imgPicker {
          width: 90px;
          height: 90px;
          position: absolute;
          left: 50%;
          top: 0;
          margin-left: -45px;
          margin-top: 10px;
          border-radius: 50%;
          z-index: 2;
        }
      }


      .close {
        width: 42px;
        height: 42px;
        position: absolute;
        right: 0;
        top: 0;

        div {
          width: 30px;
          height: 30px;
          background: url("@/assets/images/close.png") no-repeat;
          background-size: 100% 100%;
          margin: 6px;
        }
      }
    }

    .head:before {
      content: '';
      display: block;
      width: 100%;
      height: 115px;
      background: linear-gradient(90deg, #f1eefc, #9dc6ff 70%, #a5bcff);
      border-radius: 8px 8px 50% 50%;
    }

    .score {
      color: #e6e600;
    }

    .battle {
      height: 100%;

      span {
        display: inline-block;
        padding-left: 5px;
      }

      span:nth-child(1) {
        color: #ffc800;
        padding-right: 5px;
      }

      span:nth-child(2) {
        color: #ff7000;
        padding-right: 5px;
      }

      span:nth-child(3) {
        color: #87ebf1;
      }
    }
  }
}

@keyframes left2CenterAni {
  0% {
    left: -140px;
  }
  100% {
    left: 0;
  }
}

@keyframes right2CenterAni {
  0% {
    right: -140px;
  }
  100% {
    right: 0;
  }
}
